package utils;

/**
 * @author Aubry Pirian
 *
 */
public class Utils {
	
	public static boolean inArray (Object[] array, Object o) {
		if (o instanceof String) {
			String[] sArray = (String[]) array;
			return StrUtils.inArray(sArray, ""+o, false);
		}
		int c = array.length;
		for (int i=0; i<c; i++) {
			if (array[i]==o) return true;
		}
		return false;
	}

}
